package com.dmjj.login.mapper;

import com.dmjj.common.base.LoginEntity;
import com.dmjj.login.vo.StoreVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value ="loginMapper")
public interface LoginMapper {

    Map<String, Object> getUserInfoByNO(Integer userNo);

    long updatePassword(LoginEntity loginEntity);

    List<Map<String, Object>> queryAllStores(LoginEntity loginEntity);

    List<Map<String, Object>> queryAllBmByStoreId(StoreVO storeVO);

    List<Map<String, Object>> queryUserByBm(StoreVO storeVO);
}
